window: Use subsurfaces for popovers on wayland
authorCarlos Garnacho <carlosg@gnome.org>
Mon, 20 Oct 2014 17:10:52 +0000 (19:10 +0200)
committerCarlos Garnacho <carlosg@gnome.org>
Tue, 23 Dec 2014 12:55:24 +0000 (13:55 +0100)
commit96f7c11f4840d7425ab19290ea18d3904ab939a1
tree68ccb7efdbc4ee678f876d402dac76dceaba87c3
parent5e9bf518a33528a7f7264d16c906ed4b0f99b8fb
window: Use subsurfaces for popovers on wayland

On the wayland backend, set up GDK_WINDOW_SUBSURFACE windows
for popovers. In the popover code, the popover-relative-to-parent
calculation had to be tweaked, and it's been made to always prefer
the given popover position, since there's no sizing limitations.

https://bugzilla.gnome.org/show_bug.cgi?id=738891
gtk/gtkpopover.c
gtk/gtkwindow.c